import {Injectable} from '@angular/core';

import {Http} from '@angular/http';

@Injectable()

export class CatComponentService{

  constructor(private http:Http){}


  getFirstNode(){
    return this.http.get('/qbmf/v2/api/interest/getInterest', { "search": { "type": 4, start:0,rows:1000 } });

    
  }

  getExpand(param){
    return this.http.get('/qbmf/api/category/searchCategory',{"search":param});
  }
}
